package com.aggregate.pay.saobei.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

public abstract class AbstractResult {

	@JsonProperty("return_code")
	private String returnCode;
	@JsonProperty("return_msg")
	private String returnMsg;
	@JsonProperty("key_sign")
	private String keySign;
	@JsonProperty("result_code")
	private String resultCode;
	@JsonProperty("pay_type")
	private String payType;
	@JsonProperty("merchant_name")
	private String merchantName;
	@JsonProperty("merchant_no")
	private String merchantNo;
	@JsonProperty("terminal_id")
	private String terminalId;
	@JsonProperty("terminal_trace")
	private String terminalTrace;
	@JsonProperty("terminal_time")
	private String terminalTime;
	@JsonProperty("out_trade_no")
	private String outTradeNo;
	
	public String getReturnCode() {
		return returnCode;
	}
	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}
	public String getReturnMsg() {
		return returnMsg;
	}
	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}
	public String getKeySign() {
		return keySign;
	}
	public void setKeySign(String keySign) {
		this.keySign = keySign;
	}
	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getMerchantNo() {
		return merchantNo;
	}

	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}

	public String getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}

	public String getTerminalTrace() {
		return terminalTrace;
	}

	public void setTerminalTrace(String terminalTrace) {
		this.terminalTrace = terminalTrace;
	}

	public String getTerminalTime() {
		return terminalTime;
	}

	public void setTerminalTime(String terminalTime) {
		this.terminalTime = terminalTime;
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	@Override
	public String toString() {
		return "AbstractResult [returnCode=" + returnCode + ", returnMsg=" + returnMsg + ", keySign=" + keySign
				+ ", resultCode=" + resultCode + ", payType=" + payType + ", merchantName=" + merchantName
				+ ", merchantNo=" + merchantNo + ", terminalId=" + terminalId + ", terminalTrace=" + terminalTrace
				+ ", terminalTime=" + terminalTime + ", outTradeNo=" + outTradeNo + "]";
	}

}